
		<div class="ui-portlet">
			{{template wxes/_user_wxes}}
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;个人中心</a></li>
			  <li class="active">优惠活动列表</li>
			</ol>
		</div>        
       <hr>
        <div class=" ui-portlet">
       		<table class="table" cellpadding="0" cellspacing="0">
		    <?php
		        $tableHeaders = $this->Html->tableHeaders(array(
		            'Ip',
		            'view nums',
		        ));
		        echo $tableHeaders;
		
		        $rows = array();
		        foreach ($ipviews AS $ipview) {
		
		            $rows[] = array(
		                $ipview['IpviewLog']['ip'],
		                $ipview['IpviewLog']['view_nums'],
		            );
		        }
		
		        echo $this->Html->tableCells($rows);
		        echo $tableHeaders;
		    ?>
		    </table>
    	</div><!-- end ui-portlet -->

